//
//  Tag+CoreDataProperties.swift
//  Drop
//
//  Created by hushaohua on 2017/12/20.
//  Copyright © 2017年 init. All rights reserved.
//
//

import Foundation
import CoreData


extension Tag {

    @nonobjc public class func fetchRequest() -> NSFetchRequest<Tag> {
        return NSFetchRequest<Tag>(entityName: "Tag")
    }

    @NSManaged public var createdDate: NSDate?
    @NSManaged public var lastUpdatedDate: NSDate?
    @NSManaged public var name: String
    @NSManaged public var enName: String?
    @NSManaged public var histories: NSSet?
    @NSManaged public var drops: NSSet?
    
    

}

// MARK: Generated accessors for histories
extension Tag {

    @objc(addHistoriesObject:)
    @NSManaged public func addToHistories(_ value: TagHistory)

    @objc(removeHistoriesObject:)
    @NSManaged public func removeFromHistories(_ value: TagHistory)

    @objc(addHistories:)
    @NSManaged public func addToHistories(_ values: NSSet)

    @objc(removeHistories:)
    @NSManaged public func removeFromHistories(_ values: NSSet)

}

// MARK: Generated accessors for drops
extension Tag {

    @objc(addDropsObject:)
    @NSManaged public func addToDrops(_ value: Drop)

    @objc(removeDropsObject:)
    @NSManaged public func removeFromDrops(_ value: Drop)

    @objc(addDrops:)
    @NSManaged public func addToDrops(_ values: NSSet)

    @objc(removeDrops:)
    @NSManaged public func removeFromDrops(_ values: NSSet)

}
